package com.qf.smsplatfrom.mapper;

import com.qf.smsplatfrom.pojo.TMenu;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;


import java.util.List;

public interface MenuMapper {

    @Select("SELECT * FROM t_menu")
    List<TMenu> findAllMenus();


    @Select("select * from t_menu where id = #{id}")
    List<TMenu> findAllMenusByUserId(Long id);

    int updateMenu(TMenu tMenu);

}
